/* Reset và font chữ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: .5rem;
    font-weight: bold;
    line-height: 1.2;
    color: #193a6a;
    
}
body {
    font-family: Arial, sans-serif !important;
    /* color: #fff; */
    margin: 0;
    min-height: 100vh;
}
/* Header */
header {
    background-color: #0068ff;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main content */
main {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.editor-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: #fff;
    color: #222;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* Input section */
.input-section {
    grid-column: 1;
}

.input-section h2, .preview-section h2, .customization-options h2 {
    color: #0a1d3a;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

textarea {
    width: 100%;
    height: 180px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    margin-top: 0.5rem;
    resize: vertical;
}

/* Preview section */
.preview-section {
    grid-column: 2;
}

.zalo-message-preview {
    background: #f0f4ff;
    color: #222;
    padding: 1rem;
    border-radius: 6px;
    min-height: 180px;
    margin-top: 0.5rem;
    border: 1px solid #cce0ff;
    font-size: 1.1rem;
    word-break: break-word;
}

/* Customization options */
.customization-options {
    grid-column: 1 / -1;
    margin-top: 2rem;
}

.options {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #0a1d3a;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #0a2a4d 0%, #00b4d8 100%) !important;
}
.footer-title{
    color: #fff;
}
.footer-underline{
    background-color: #fff;
}
.mb-0{
    color: #fff;
}
.pl-3 mb-0{
    color: #fff;
}
.footer-contact {
    color: #fff;
    text-align: right;
    position: absolute;
    top: -90px;
    right: 61px;
}





/* Responsive design */
@media (max-width: 900px) {
    .editor-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .navbar {
        border-radius: 0 0 12px 12px;
        padding: 1rem;
        height: auto;
    }
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        margin-top: 0.5rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero h2 {
        font-size: 1.2rem;
    }
    .editor-container {
        padding: 1rem;
    }
    .floating-contact {
        left: 10px;
        bottom: 20px;
        gap: 12px;
    }
    .btn-zalo, .btn-call {
        width: 48px;
        height: 48px;
    }
    .btn-zalo img {
        width: 26px;
        height: 26px;
    }
    .btn-call {
        font-size: 1.4rem;
    }
}
@media (min-width: 992px) {
    div#navbarNav {
            margin-left: 135px;
    }}
.navbar {
    background: linear-gradient(90deg, #0a2a4d 0%, #00b4d8 100%) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    padding: 0 2rem;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s;
}

.navbar .navbar-brand {
    color: #fff !important;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 1.4rem;
    text-shadow: 0 2px 8px #00b4d8aa;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.2s, background 0.2s;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    margin-left: 25px;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-item.active .nav-link {
    color: #feffff !important;
    background: rgba(255,255,255,0.08);
    text-decoration: none;
}

.navbar .form-inline .form-control {
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 24px;
    color: #0a2a4d;
    box-shadow: 0 2px 8px rgba(0,180,255,0.08);
    padding-left: 2.2rem;
    height: 38px;
    font-size: 1rem;
    transition: box-shadow 0.2s, border 0.2s;
    position: relative;
}

.navbar .form-inline .form-control:focus {
    box-shadow: 0 4px 16px #00b4d855;
    border: 1.5px solid #00b4d8;
    background: #fff;
    outline: none;
}

.navbar .form-inline .btn {
    border-radius: 24px;
    font-weight: 600;
    background: linear-gradient(90deg, #d15116 0%, #49d90d 100%);
    color: #fff;
    border: none;
    padding: 0.45rem 1.2rem;
    margin-left: 0.2rem;
    box-shadow: 0 2px 8px #00b4d822;
    transition: background 0.2s, box-shadow 0.2s;
}

.navbar .form-inline .btn:hover {
    background: linear-gradient(90deg, #00b4d8 0%, #0a2a4d 100%);
    color: #fff;
    box-shadow: 0 4px 16px #00b4d855;
}

/* Icon search trong input */
.navbar .form-inline {
    position: relative;
}
.navbar .form-inline::before {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #00b4d8;
    font-size: 1.1rem;
    pointer-events: none;
}

.text-secondary {
    color: #2e5170 !important;
}
.logo {
    font-weight: bold;
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: #fff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.nav-links li a:hover {
    color: #00e0ff;
}

.search-icon {
    font-size: 1.3rem;
    color: #fff;
    cursor: pointer;
}

.hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, #2e4fff 0%, transparent 70%),
                radial-gradient(circle at 80% 20%, #00e0ff 0%, transparent 70%);
    z-index: 1;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #504f17 60%, #49f587 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 500;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: 1.5px;
}

.free-badge {
    display: inline-block;
    background: #ff0000;
    color: #fff200;
    font-weight: bold;
    font-size: 1.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 20px #ff0000aa;
    margin-top: 1rem;
    position: relative;
    animation: badge-pop 1.2s infinite alternate;
}

@keyframes badge-pop {
    0% { transform: scale(1) rotate(-5deg); }
    100% { transform: scale(1.08) rotate(5deg); }
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    z-index: 0;
}

.shape1 {
    width: 320px;
    height: 320px;
    top: -80px;
    left: -80px;
    background: linear-gradient(135deg, #00e0ff 0%, #a259ff 100%);
    opacity: 0.7;
}

.shape2 {
    width: 260px;
    height: 260px;
    bottom: -60px;
    right: 40px;
    background: linear-gradient(135deg, #a259ff 0%, #00e0ff 100%);
    opacity: 0.6;
} 
.video-title-trang-chu h2{
    font-weight: 500;
    line-height: 1.2;
    color: #193a6a;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: bold;
}
.video-container{
    display: flex;
    justify-content: center;
    align-items: center;
}
.tin_tuc h2{
    font-weight: 500;
    line-height: 1.2;
    color: #193a6a;
    text-align: center;
    margin-top: -30px;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 40px;
    left: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.video-container iframe{
    width: 100%;
    height: 630px;
}
.btn-zalo, .btn-call {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    outline: none;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 0 0 0 #00e0ff;
    transition: 
        box-shadow 0.3s cubic-bezier(.4,2,.6,1),
        transform 0.22s cubic-bezier(.4,2,.6,1),
        background 0.22s,
        filter 0.22s;
    overflow: hidden;
}
.news-detail h4, .news-detail h5 {
    color: #193a6a;
    font-weight: bold;
}
.news-detail p, .news-detail li {
    color: #223a5e;
}
.news-detail strong, .news-detail b {
    color: #193a6a;
}

.btn-zalo {
    background: linear-gradient(135deg, #00e0ff 0%, #005bea 100%);
    border: 2.5px solid #fff;
    animation: pulse-zalo 2s infinite;
}
.btn-zalo img {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px #0084ff33);
    z-index: 2;
}

.btn-call {
    background: linear-gradient(135deg, #ff512f 0%, #dd2476 100%);
    color: #fff;
    font-size: 2.1rem;
    border: 2.5px solid #fff;
    animation: pulse-call 2s infinite;
}

.btn-zalo::before, .btn-call::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-zalo:hover, .btn-zalo:focus {
    box-shadow: 0 0 0 8px #00e0ff44, 0 8px 32px #00e0ff55;
    transform: scale(1.12) rotate(-8deg);
    filter: brightness(1.08) saturate(1.2);
}
.btn-zalo:hover::before, .btn-zalo:focus::before {
    background: radial-gradient(circle, #00e0ff55 0%, transparent 70%);
    opacity: 1;
}

.btn-call:hover, .btn-call:focus {
    box-shadow: 0 0 0 8px #ff512f44, 0 8px 32px #ff512f55;
    transform: scale(1.12) rotate(8deg);
    filter: brightness(1.08) saturate(1.2);
}
.btn-call:hover::before, .btn-call:focus::before {
    background: radial-gradient(circle, #ff512f55 0%, transparent 70%);
    opacity: 1;
}

@keyframes pulse-zalo {
    0% { box-shadow: 0 0 0 0 #00e0ff55; }
    70% { box-shadow: 0 0 0 16px #00e0ff11; }
    100% { box-shadow: 0 0 0 0 #00e0ff55; }
}
@keyframes pulse-call {
    0% { box-shadow: 0 0 0 0 #ff512f55; }
    70% { box-shadow: 0 0 0 16px #ff512f11; }
    100% { box-shadow: 0 0 0 0 #ff512f55; }
}

.card.h-100.shadow-sm {
    transition: transform 0.28s cubic-bezier(.4,1.2,.6,1), box-shadow 0.28s cubic-bezier(.4,1.2,.6,1);
}
.card.h-100.shadow-sm:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(0,0,0,0.16);
    z-index: 2;
}
.lien-he-form{
    margin-top: -20px;
    margin-bottom: -20px;
    text-align: center;
}
